package com.san.hkhospital.service;

import java.util.List;
import com.san.hkhospital.entity.Type;
import com.san.hkhospital.entity.TypeExample;
    /**
 * ClassName:TypeService
 * PackageName:com.san.hkhospital.service
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 14:38
 * 
 */
 
 
public interface TypeService{


    long countByExample(TypeExample example);

    int deleteByExample(TypeExample example);

    int deleteByPrimaryKey(Integer typeId);

    int insert(Type record);

    int insertSelective(Type record);

    List<Type> selectByExample(TypeExample example);

    Type selectByPrimaryKey(Integer typeId);

    int updateByExampleSelective(Type record,TypeExample example);

    int updateByExample(Type record,TypeExample example);

    int updateByPrimaryKeySelective(Type record);

    int updateByPrimaryKey(Type record);

        List<Type> typeList();

        List<Type> payinType();

        List<Type> payoutType();

//        List<Type> selectAll();
        List<Type> medicineType();
}
